﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Site1.Master" AutoEventWireup="true" CodeBehind="importData.aspx.cs" Inherits="lcps.Web.Admin.importData" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script language="javascript" type="text/javascript">
    function havecheck() {
        if ($("#<%= ddltables.ClientID%>").find("option:selected").text() != "没有选择")
            return true;
        else {
            alert("没有选中项目！");
            return false;
        }

    }
</script>
    <style type="text/css">
        .style1
        {
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table cellpadding="0" cellspacing="0" class="style1">
                    <tr>
                        <td class="style1">
                            项目：<asp:DropDownList ID="ddltables" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
                            <INPUT id="FileExcel" style="WIDTH: 300px" type="file" size="42" name="FilePhoto" runat="server"></td>
                    </tr>
                    <tr>
                        <td class="style1">
                            <asp:Label ID="LblMessage" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style1">
    <asp:Button ID="btnimport" runat="server" Text="导入" onclick="btnimport_Click" onclientclick="return havecheck()" />
                        &nbsp;<a href="../template/lc.xls">模板下载</a>
                        </td>
                    </tr>
                    <tr>
                        <td class="style2" align="left">
                            &nbsp;</td>
                    </tr>
                </table>
</asp:Content>
